package com.fancy.dao;

import entity.Major;

import java.util.List;

/**
 * Created by Jackie on 2017/10/17.
 */
public interface MajorDao {

    boolean insertMajor(Major major);

    boolean removeMajor(int major_id);

    boolean updateMajor(Major newMajor);

    Major findMajor(int major_id);

    List<Major> findMajors();

}
